package comptadub

class TypeLigne {

    String  code
    String  nom

    static constraints = {
        code(size:3..10, blank:false)
        nom(size:3..255, blank:false)
    }

    static mapping = {
        sort "nom"
    }
}